package de.gameduell.framework.facebook.app.popups {
	import flash.events.Event;

	public class ErrorPopup extends PyramidBasePopup {
		public function ErrorPopup(aId:String){
			super("generic_2_buttons_content", aId, 0, true);
			
			registerButton("okButton", hide);
			registerButton("skipButton", leaveApp);
			show();
		}
		
		private function leaveApp(event:Event):void {
			controller.refreshBrowser();
		}
	}
}
